package com.example.demo.service;

import com.example.demo.domain.RoomType;
import com.example.demo.domain.RoomTypeKey;
import com.example.demo.mapper.RoomTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoomTypeServiceImpl implements RoomTypeService{
    @Autowired
    private RoomTypeMapper roomTypeMapper;
    @Override
    public RoomType selectByPrimaryKey(RoomTypeKey key){
        return roomTypeMapper.selectByPrimaryKey(key);
    }
}
